import {legacy_createStore as createStore,applyMiddleware} from 'redux'
import reducers from "./reducers";
import {thunk} from 'redux-thunk'

export default function configurationStore(initState){
    return createStore(reducers,initState,applyMiddleware(thunk));
}